package cn.iocoder.yudao.module.security.controller.admin.risk.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 风险分析分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityRiskPageReqVO extends PageParam {

    @Schema(description = "风险名称", example = "赵六")
    private String riskName;

    @Schema(description = "风险来源/IP")
    private String ipAddress;

    @Schema(description = "风险发生时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] riskTime;

    @Schema(description = "风险等级")
    private String riskLevel;

    @Schema(description = "风险描述")
    private String riskDesc;

    @Schema(description = "风险详情")
    private String riskDetail;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}